package com.example.myfirstgame.helper;

import android.app.Activity;
import android.content.Context;
import android.widget.Toast;

public class Helpers {

	public static void showToast(final String pTextMessage) {

		final Activity lActivity = DataInstance.getInstance().getMainActivity();
		lActivity.runOnUiThread(new Runnable() {
			public void run() {
				Toast.makeText(lActivity, pTextMessage, Toast.LENGTH_SHORT)
						.show();
			}
		});
	}

}
